package com.solution.constant;

/**
 * Contains all the status reasons used across various modules. Assumption : All
 * status should in Short value.
 * 
 * @author piyush.mittal
 * 
 */
public interface StatusConstants {

	/**
	 * To mark a request, enrollment, item creation etc open which is required
	 * to be approved by someone or needs to me marked active.
	 */
	public static final short OPEN = 1;

	/**
	 * The item, customer, request state.
	 */
	public static final short ACTIVE = 2;
	/**
	 * To mark the card, customer or item temporary blocked. replacement to
	 * temperory_hotlist.
	 */
	public static final short SUSPEND = 3;
	/**
	 * to mark the card, item or customer permanent blocked. replacement to
	 * permanent_hotlist
	 */
	public static final short TERMINATE = 4;
	/**
	 * Became inactive due to expiration of date.
	 */
	public static final short EXPIRE = 5;
	/**
	 * reissue of card, item
	 */
	public static final short REISSUE = 6;

	/**
	 * Specific to feedback module.
	 */
	public static final short ASSIGN = 7;
	public static final short CLOSE = 8;
	public static final short ABANDON = 9;

	/**
	 * To mark entry deleted in the database.
	 */
	public static final short DELETED = 10;
	public static final String DELETED_MSG = "Entry marked deleted in database.";

	/**
	 * To mark entry 'in progress' in the database.
	 * <p>
	 * Applicable for card, store
	 * </p>
	 */
	public static final short REGISTRATION_IN_PROGRESS = 11;
	/**
	 * To mark entry registered in the database.
	 * <p>
	 * Applicable for card, store
	 * </p>
	 */
	public static final short REGISTERED = 12;
	/**
	 * To mark entry registered in the database.
	 * <p>
	 * Applicable for card, store
	 * </p>
	 */
	public static final short INITIALIZED = 13;

	/**
	 * To mark entry on hold in the database.
	 * <p>
	 * Applicable for card, store
	 * </p>
	 */
	public static final short ONHOLD = 14;

	/**
	 * To mark entry dormant in the database.
	 * <p>
	 * Applicable for card, store
	 * </p>
	 */
	public static final short DORMANT = 15;
	
	public static final short ISSUED = 16;
	public static final short PIN_CONFIRMED = 17;
	
	public static final short ATTENDED = 18;
	
	public static final short INTERESTED = 19;
	
	public static final short NOTINTERESTED = 20;
	
	public static final short INPROGRESS = 21;
	
	public static final short ALLOCATE =22;
	
	public static final short DISPATCH =23;
	
	public static final short CANCEL =24;
	
	public static final short UNDELIVERED =25;
	
	public static final short RECEIVED =26;
	
	public static final short UNABLE_TO_CONTACT =27;
	
	public static final short SUCCESSFUL =28;
	
	public static final short FAILED =29;
	
	public static final short ORDER_STATUS_OPEN = 1;
	public static final short ORDER_STATUS_ALLOCATED = 2;
	public static final short ORDER_STATUS_DISPATCHED = 3;
	public static final short ORDER_STATUS_RECEIVED = 4;
	public static final short ORDER_STATUS_CANCEL = 5;
	
	public static final short ORDER_STATUS_ACTION_OPEN = 1;
	public static final short ORDER_STATUS_ACTION_ALLOCATE = 2;
	public static final short ORDER_STATUS_ACTION_DISPATCH = 3;
	public static final short ORDER_STATUS_ACTION_RECEIVE = 4;
	public static final short ORDER_STATUS_ACTION_CANCEL = 5;
	
	public static final short TERMINAL_RESET = 0;
	
}
